home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19951130-19960209 / 000414_news@columbia.edu _Thu Feb 1 20:07:18 1996.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: news@columbia.edu
  2. Received: from apakabar.cc.columbia.edu (apakabar.cc.columbia.edu [128.59.35.159]) by watsun.cc.columbia.edu (8.7.3/8.7.3) with ESMTP id UAA22313 for <kermit.misc@watsun>; Thu, 1 Feb 1996 20:07:17 -0500 (EST)
  3. Received: (from news@localhost) by apakabar.cc.columbia.edu (8.7.3/8.7.3) id UAA03254 for kermit.misc@watsun; Thu, 1 Feb 1996 20:07:16 -0500 (EST)
  4. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  5. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  6. Newsgroups: comp.protocols.kermit.misc
  7. Subject: Re: Help dialing into UNIX (Sun OS)
  8. Date: 2 Feb 1996 01:07:03 GMT
  9. Organization: Columbia University
  10. Lines: 37
  11. Message-ID: <4ero3n$35e@apakabar.cc.columbia.edu>
  12. References: <3110C8A5.6527@gmis.com>
  13. NNTP-Posting-Host: watsun.cc.columbia.edu
  14.  
  15. In article <3110C8A5.6527@gmis.com>, Joseph B. Gill <gilljb@gmis.com> wrote:
  16. : Has anyone been successful dialing into a Sun OS system?  I'v been
  17. : trying with mixed result.  I've tried the example in the USING C-KERMIT
  18. : manual with;
  19. : ...
  20. : I can connect to the UNIX machine and I get to the login prompt
  21. : and enter my username but at that point it just waits at the Password:
  22. : prompt.
  23. : ...
  24. : dial \%p\%n
  25. :
  26. First of all, you should have an IF SUCCESS or IF FAILURE command here,
  27. in case the call was not successful.
  28.  
  29. : input 10 wanda login:             ; Wait for login prompt from FishNet 
  30. : ...
  31. : output \%u\13                     ; Send user id
  32. : input 5 Password:                 ; Get password prompt if fail goto dologin
  33. You also need an IF SUCCESS or IF FAILURE command here, to catch the case
  34. where the Password: prompt does not arrive in time.
  35.  
  36. If it succeeds, you should wait a second before sending the password.
  37. UNIX flushes its typeahead buffer after issuing the Password: prompt but
  38. before reading the password (as a security measure), and so if you send
  39. the password too soon, it might be decapitated or lost.  So insert:
  40.  
  41.   pause 1
  42.  
  43. here.
  44.  
  45. : output \%x\13                     ; Send password 
  46. : define \%x junk                   ; Erase password pause 5
  47.  
  48. That should do it.
  49.  
  50. - Frank